package com.isesol.ime.dal.model;

import com.isesol.arch.common.dal.*;
import lombok.*;

/**
 * 报文
 *
 * @author peter zhang
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MessageDO extends DataObjectBase {

	/**
	 * 报文id
	 */
	private String msgId;

	/**
	 * 报文名称
	 */
	private String msgName;

	/**
	 * 报文号
	 */
	private String msgNumber;

	/**
	 * 规则名称
	 */
	private String ruleName;

	/**
	 * 规则
	 */
	private String rule;

	/**
	 * 反馈
	 */
	private boolean feedback;

	/**
	 * 加密
	 */
	private boolean encrypt;

	/**
	 * 时候永久保存
	 */
	private boolean preservation;

	/**
	 * 备注
	 */
	private String memo;

	/**
	 * 状态
	 */
	private String status;

	/**
	 * 机床类型
	 */
	private String machineType;

	/**
	 * 默认订阅
	 */
	private boolean isDefault;
}
